package vsvm.gui.controls;

import javax.swing.JPanel;
import javax.swing.JLabel;
import java.awt.BorderLayout;
import javax.swing.JTextPane;

public class QuickInfoPanel extends JPanel {
	private static final long serialVersionUID = 100L;
	
	private JTextPane txtInfo = null;

	public QuickInfoPanel() {
		initialize();
	}

	private	void initialize() {
		this.setLayout(new BorderLayout());
			this.setSize(new java.awt.Dimension(191,164));
			this.add(getTxtInfo(), java.awt.BorderLayout.CENTER);
			
	}

	public void setQuickInfo(String info) {
		txtInfo.setText(info);		
	}

	/**
	 * This method initializes txtInfo	
	 * 	
	 * @return javax.swing.JTextPane	
	 */
	private JTextPane getTxtInfo() {
		if (txtInfo == null) {
			txtInfo = new JTextPane();
			txtInfo.setEditable(false);
			txtInfo.setBackground(java.awt.SystemColor.control);
		}
		return txtInfo;
	}

}  //  @jve:decl-index=0:visual-constraint="10,10"
